package ${packageName}.${moduleName}.service${subModuleName};

import ${packageName}.${moduleName}.controller.model${subModuleName}.${ClassName}Model;
import ${packageName}.${moduleName}.domain${subModuleName}.${ClassName};

/**
 * ${functionName}Service接口
 * @author ${classAuthor}
 * @version ${classVersion}
 */
public interface ${ClassName}Service {
	public ${ClassName} addDo(${ClassName} bean);
	
	public void create(${ClassName}Model model)throws Exception;
	/**
	 * 删除实体
	 * @param model
	 * @throws Exception
	 */
	public void delete(${ClassName}Model model)throws Exception;
	
	/**
	 * 刷新实体
	 * @param model
	 * @throws Exception
	 */
	public void refresh(${ClassName}Model model)throws Exception;
	
	/**
	 * 浏览详情
	 * @param model
	 * @throws Exception
	 */
	public void view(${ClassName}Model model)throws Exception;
	
	/**
	 * 分页浏览
	 * @param model
	 * @throws Exception
	 */
	public void list(${ClassName}Model model)throws Exception;
	
	/**
	 * 判断实体是否存在
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public boolean isExist(${ClassName}Model model)throws Exception;
}